package controllers

import (
	"github.com/astaxie/beego"
)


type TestController struct {
	beego.Controller
}

func (this *TestController) Get() {
	this.Ctx.WriteString("<h1>get test</h1>")
}

func (this *TestController) Post() {
	this.Ctx.WriteString("<h1>post test</h1>")
}

func (this *TestController) Put() {
	this.Ctx.WriteString("<h1>put test</h1>")
}

func (this *TestController) Delete() {
	this.Ctx.WriteString("<h1>delete test</h1>")
}

func (this *TestController) Options() {
	this.Ctx.WriteString("<h1>options test</h1>")
}

func (this *TestController) Patch() {
	this.Ctx.WriteString("<h1>patch test</h1>")
}
